<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        window.onload = function(){
            let i = 0,j = 0;
            let res = 0;
            let str = "";

            for(i = 0; i <= 9;i++){
                str = "";
                for(j = 0; j < i ;j++){
                    res = (j+1)*(i);
                    str = (j+1) +"*"+ (i) +"=" +res;
                    document.write(str+"\t");
                }
                document.write("<br>");
            }
        }
    </script>
</head>
<body>
    
</body>
</html>